package ec.fugu.amf;

public class AmfBody {
	private String target;
	private String response;
	private Object data;
	private int length;
	
	public AmfBody(String target, String response, Object data){
		this.target = target;
		this.response = response;
		this.data = data;
		this.length = 0;
	}
	
	public AmfBody(String target, String response, int length, Object data){
		this.target = target;
		this.response = response;
		this.data = data;
		this.length = length;
	}

	public String getTarget(){
		return this.target;
	}
	
	public String getResponse(){
		return this.response;
	}
	
	public int getLength(){
		return this.length;
	}

	public Object getData(){
		return this.data;
	}
	
	public void setTarget(String target){
		this.target = target;
	}

	public void setReponse(String response){
		this.response = response;
	}
	
	public void setLength(int length){
		this.length = length;
	}
	
	public void setData(String data){
		this.data = data;
	}
}